package com.cci.kangdao.dao;

import com.cci.kangdao.dao.model.UserTokenT;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;

@MapperScan
public interface UserTokenTMapper {

    UserTokenT selectByAdUserId(String adUserId);

    UserTokenT selectByAccessToken(String accessToken);

    UserTokenT selectByUserId(Long userId);

    int updateByPrimaryKeySelective(UserTokenT record);

    int deleteTokenByUserId(@Param("userId")Long userId);

}